package ATM.logic;

import ATM.data.AdminData;
import ATM.gui.Screen;

public class TimerTempScreen extends Thread {
	Screen screen;
	AcLMethods acLMethods;

	public TimerTempScreen(Screen screen) {
		this.screen = screen;
		this.acLMethods = new AcLMethods(screen);
	}

	// start timer
	public void run() {
			try {
				Thread.sleep(1500); // timer runs every 1,5 second
			} // end try
			catch (InterruptedException e) { // catch interrupted Exception
				// This method prints a stack trace for this Throwable object
				e.printStackTrace();
			} // end catch
			
			acLMethods.Exit();
	} // end timer


}
